home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 2,801 to 2,900
/
aol-file-protocol-4400-2801-to-2900.zip
/
AOLDLs
/
C++ Files Library
/
Direct Blitting in C++
/
Blitting.sit
/
Blitting ƒ
/
CDirectGWorld.h
< prev
next >
Wrap
Text File
|
1995-04-16
|
853b
|
37 lines
// CDirectGWorld.h, the CDirectGWorld class
//
// Copyright ⌐ 1995, Macneil Shonle. All rights reserved.
#ifndef __CDIRECTGWORLD__
#define __CDIRECTGWORLD__
#ifndef __CDIRECTBLIT__
#include <CDirectBlit.h>
#endif
#ifndef __PIXELTYPES__
#include <PixelTypes.h>
#endif
#ifndef __QDOFFSCREEN__
#include <QDOffscreen.h>
#endif
class CDirectGWorld : public CDirectBlit {
public:
CDirectGWorld( Rect &bounds, BitDepth depth = kEightBit, CTabHandle cTable = nil );
CDirectGWorld( RowWidth width, ColumnHeight height, BitDepth depth = kEightBit,
CTabHandle cTable = nil );
virtual ~CDirectGWorld();
GWorldPtr GetMacGWorld();
protected:
GWorldPtr mGWorld;
private:
void construct( Rect &bounds, BitDepth depth, CTabHandle cTable );
QDErr NewCleanGWorld( GWorldPtr &theGWorld, Rect& bounds, BitDepth depth, CTabHandle cTable );
};
#endif